#!/bin/bash

mkdir /usr/include/ssock
cp -r h/* /usr/include/ssock/
gcc -c -Wall src/ssock_tcpsock.c -o o/ssock_tcpsock.o
gcc -c -Wall src/ssock_udpsock.c -o o/ssock_udpsock.o
ar rvs /usr/lib/libssock.a o/ssock_tcpsock.o o/ssock_udpsock.o
